
#ifndef LOD_PARAM_H
#define LOD_PARAM_H

#include <string>

//! Window and projection parameters
class param
{
    public:
    //! main window width
    int win_width;
    //! main window height
    int win_height;
    //! main window x position
    int win_x_pos;
    //! main window y position
    int win_y_pos;
    //! main window name
    std::string win_name;
    //! gluPerspective fovy parameter
    /*! "Specifies the field of view angle, in degrees, in the y direction."
     *  /gluPerspective manual */
    double fovy;
    /*! "Specifies the distance from the viewer to the near clipping  plane
     *  (always positive)." 
     *  /gluPerspective manual */
    double z_near;
    /*! "Specifies  the  distance from the viewer to the far clipping plane
     *  (always positive)."
     *  /gluPerspective manual */
    double z_far;
    void* font;

    param(int ww, int wh, int xpos, int ypos, std::string wname, 
            double Fovy, double znear, double zfar, void* fnt)
     : win_width(ww), win_height(wh), win_x_pos(xpos), win_y_pos(ypos), 
       win_name(wname), fovy(Fovy), z_near(znear), z_far(zfar), font(fnt)
    {
    }
};

#endif // LOD_PARAM_H
